package com.studychen.appfxcp.commom.model;

import de.saxsys.mvvmfx.SceneLifecycle;
import de.saxsys.mvvmfx.ViewModel;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MainViewModel implements ViewModel, SceneLifecycle {
    @Override
    public void onViewAdded() {
        log.info("主页面添加");
    }

    @Override
    public void onViewRemoved() {
        log.info("主页面移除");
    }
}
